package com.example.coffee.items;

public class CaffeeItem {
    // 餐品的图片，这里使用本地资源
    private int imageId;
    // 餐品名称
    private String name;
    // 餐品价格
    private String price;
    // 餐品描述
    private String description;
    // 餐品原价
    private String originalPrice;
    // 构造方法
    public CaffeeItem(int imageId, String name, String price, String description, String originalPrice) {
        this.imageId = imageId;
        this.name = name;
        this.price = price;
        this.description = description;
        this.originalPrice = originalPrice;
    }
    // 对应的getter方法
    public int getImageId() {
        return imageId;
    }

    public String getName() {
        return name;
    }

    public String getPrice() {
        return price;
    }

    public String getDescription() {
        return description;
    }

    public String getOriginalPrice() {
        return originalPrice;
    }
}
